﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MusicStore.Models
{
    // GET: Album

    /// <summary>
    /// 唱片集,音乐专辑类
    /// </summary>
    public class Album
    {
        public int AlbumId { get; set; }//自动属性
        public string AlbumArtUrl { get; set; }
        public int ArtistId { get; set; }
        public int GenreId { get; set; }
        public decimal Price { get; set; }
        public string Title { get; set; }
        public virtual Genre Genre { get; set; }
        public virtual Artist Artist { get; set; }




        //public int albumId;
        //public int AlbumId
        //{
        //    get { return albumId; }
        //    set { albumId = value; }
        //}
    }
}